# 创建异步对象

from celery import Celery

broker = "redis://127.0.0.1:6379/1"
backend = "redis://127.0.0.1:6379/2"

cel = Celery("test", broker=broker, backend=backend,
             include=[
                 "task01",
                 "task02"
             ])
